package cn.webrx;

import lombok.Data;

public class A {
    @Override
    public String toString() {
        return "A{}";
    }

    @Override
    protected void finalize() throws Throwable {
        System.out.println("A被回收");
    }
}
class B{

    public String tostring() {
        return "ok";
    }
}

@Data
class C{
    private int id;
    private String name;
}
